[HVM][VMX] expose PSE feature to HVM guests if PAE is turned on in
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 5 Jul 2006 09:32:08 +0000 (10:32 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 5 Jul 2006 09:32:08 +0000 (10:32 +0100)
commit8e7fded8efe79256769159892ba290cb0aee8136
tree5beca699834ae9094259347f50a1231d9d64b4ca
parent6f8425d69dc6dcdedf02c3b5120b0c3225aea2e4
[HVM][VMX] expose PSE feature to HVM guests if PAE is turned on in
config file, with this change, RHEL4 IA32 SMP guest can boot.
But because we don't support 4Mbytes PSE pages, so x86_32 HVM guest
can NOT use PSE feature. However user may have "pae=1" in config file,
which causes PSE feature seen by x86_32 HVM guest, and it will then use
4Mbytes PSE pages. In this case, we will have to crash x86_32 HVM.
So when running x86_32 HVM guest, user need pay attention not to have
"pae=1" in config file.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/shadow.c